public class Friends {
    
    public String name;
    
    public void setValue(String friendname){
       
        this.name = friendname;
        
    }
  

    public Friends(String friendname) {
        setValue(friendname); 
    }
    
    
    
}